#include<bits/stdc++.h>
#define int long long 
using namespace std;

signed main() {
	int a, b;
	cin >> a >> b;
	cout << b - a << endl;
	return 0;
}
